//
//  Target_Pay.m
//  CharonTVProject
//
//  Created by karong on 2023/8/10.
//

#import "Target_Pay.h"
#import "WSPayController.h"
#import "WSCoinsPayController.h"
#import "WSVipPayController.h"

@implementation Target_Pay
- (id)Action_charonTV_pay:(NSDictionary *)params {
    WSPayController * targetVC = (WSPayController *)[self instantiateViewControllerWithName:@"WSPayController"];
    return targetVC;
}

- (id)Action_charonTV_coin:(NSDictionary *)params {
    WSCoinsPayController * targetVC = (WSCoinsPayController *)[self instantiateViewControllerWithName:@"WSCoinsPayController"];
    return targetVC;
}

- (id)Action_charonTV_vip:(NSDictionary *)params {
    WSVipPayController * targetVC = (WSVipPayController *)[self instantiateViewControllerWithName:@"WSVipPayController"];
    return targetVC;
}

- (UIViewController *)instantiateViewControllerWithName:(NSString *)name {
   return [self instantiateViewControllerWithStoryboardNam:name identifier:name];
}

- (UIViewController *)instantiateViewControllerWithStoryboardNam:(NSString *)storyboard identifier:(NSString *)identifier{
   return [[UIStoryboard storyboardWithName:storyboard bundle:nil] instantiateViewControllerWithIdentifier:identifier];
}
@end
